/*
 * Card.java
 *
 * Created on September 5, 2007, 8:31 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package blackjacksim;

/**
 *
 * @author Eric Drucker
 */
public class Card
{
	
	public enum suit {HEART, SPADE, CLUB, DIAMOND};
	public enum value {ACE, TWO, THREE, FOUR, FIVE, SIX, SEVEN, EIGHT, NINE, TEN, JACK, QUEEN, KING};
	
	private suit cardSuit;
	private value cardValue;
	
	private String imageString;
	
	/** Creates a new instance of Card */
	public Card()
	{
	}
	
	public Card(suit s, value v, String st)
	{
		cardSuit = s;
		cardValue = v;
		imageString = st;
	}
	
	public void setSuit(suit s)
	{
		cardSuit = s;
	}
	
	public suit getSuit()
	{
		return cardSuit;
	}
	
	public void setValue(value v)
	{
		cardValue = v;
	}
	
	public value getValue()
	{
		return cardValue;
	}
	
	public String getImage()
	{
		return imageString;
	}
}
